v0.2.0 リリース#39
Merged
Merged
Conversation
- Install @biomejs/biome@2.4.4 (exact version) - Create biome.json with project-specific config - space indent, double quotes, semicolons, line width 120 - CSS linting and formatting enabled - VCS integration with .gitignore - Organize imports via assist - Add npm scripts: check, check:fix, format Refs #1
- Configure rule severities in biome.json: - noDuplicateTestHooks: off (false positive in nested describes) - noExplicitAny, noNonNullAssertion, noArrayIndexKey: warn - useKeyWithClickEvents, noStaticElementInteractions: warn - Add aria-hidden="true" to all decorative SVG icons (35 fixes) - Add type="button" to all button elements (24 fixes) - Fix noNonNullAssertedOptionalChain in test files (3 fixes) - Fix noInvalidUseBeforeDeclaration: move handleEvent before useEffect - Add biome-ignore for intentional dangerouslySetInnerHTML usage - Auto-fix formatting and import ordering across all files Result: 0 errors, 73 warnings (all intentionally warn-level) All tests pass (154/154), build succeeds. Refs #1
- Add 'Lint & Format check' step to test.yml workflow - Update Code Style sections (EN/JA) with Biome instructions - Update PR checklist to include 'npm run check' Refs #1
…dd new icon components and tests
…s, and session management - Implemented `useLocale` hook for managing locale settings and strings. - Created `useMessages` hook for handling chat messages and their parts. - Developed `usePermissions` hook for managing tool permission requests. - Added `useProviders` hook for managing AI model providers and their data. - Introduced `useSession` hook for managing session states and events. - Added comprehensive tests for each hook to ensure functionality and correctness. - Created `AppContext` for centralized state management across the application.
- Implemented TodoHeader component to display summary and toggle list of todos. - Created TodoView component to list individual todos with their status and priority. - Added ChatHeader component for managing chat sessions with new session and toggle actions. - Developed InputArea component for user input with file attachment and model selection features. - Introduced MessageItem and MessagesArea components for displaying chat messages and interactions. - Implemented PermissionView for handling permission requests in chat. - Added SessionList component for managing chat sessions with delete and select functionality. - Created ToolConfigPanel for configuring tool settings and managing locale options. - Developed ToolPartView for displaying tool actions and outputs, including todo management.
… TextPartView components with functionality for message handling and context management
…ageItem, MessagesArea, TextPartView) to streamline codebase
… package.json and package-lock.json
…andling in multiple components
…stent styling and improved accessibility
…sistent styling and improved functionality across multiple components
…stent styling and improved functionality in ToolConfigPanel and ModelSelector
…I consistency and functionality across various components
- Create ContextIndicator.module.css for context indicator styles - Create IconButton.module.css for icon button styles - Create LinkButton.module.css for link button styles - Create ListItem.module.css for list item styles - Create StatusItem.module.css for status item styles - Create StreamingIndicator.module.css for streaming indicator styles - Create DiffView.module.css for diff view styles - Create EmptyState.module.css for empty state styles - Create FileAttachmentBar.module.css for file attachment bar styles - Create HashFilePopup.module.css for hash file popup styles - Create ModelSelector.module.css for model selector styles - Create TodoHeader.module.css for todo header styles - Create TodoView.module.css for todo view styles - Create ChatHeader.module.css for chat header styles - Create InputArea.module.css for input area styles - Create MessageItem.module.css for message item styles - Create MessagesArea.module.css for messages area styles - Create PermissionView.module.css for permission view styles - Create SessionList.module.css for session list styles - Create ToolConfigPanel.module.css for tool config panel styles - Create ToolPartView.module.css for tool part view styles - Add css-modules.d.ts for TypeScript support of CSS modules
- Implemented MessageItem component to display user and assistant messages with editing capabilities. - Created MessagesArea component to manage and display a list of messages, including checkpoint functionality. - Added PermissionView component to handle permission requests with user actions. - Introduced ToolConfigPanel for configuring tool settings and locale preferences. - Developed ToolPartView to visualize tool actions and outputs, including support for todos and file edits. - Styled components with corresponding CSS modules for improved UI consistency. - Added SessionList component to manage and display user sessions with delete functionality.
…d ModelSelector to use Popover
サブエージェント子セッションナビゲーションと@agentメンション
セッション共有機能の追加
- Add unrevertSession() to OpenCodeConnection (session.unrevert SDK call) - Add undoSession/redoSession message types to WebviewToExtMessage - Add undoSession handler: revert session → send activeSession + messages - Add redoSession handler: unrevert session → send activeSession + messages Closes #9
- Add UndoIcon / RedoIcon SVG components - Add onUndo, onRedo, canUndo, canRedo, isBusy props to ChatHeader - Show undo/redo buttons when activeSession exists and not in child session - Add handleUndo: extract user message text → setPrefillText → revert - Add handleRedo: clear prefillText → unrevert - Add canUndo / canRedo computed flags - Stabilize handleEvent with activeSessionRef to prevent useEffect churn - Add header.undo / header.redo locale keys (en/ja)
- Add ChatHeader undo/redo button tests (render, disabled, click, visibility) - Add scenario 20: undo/redo lifecycle test covering undo → prefillText restoration, redo → prefillText clear, disabled states, and busy states
メッセージ履歴の Undo/Redo UI 追加
opencode-ai/opencode から anomalyco/opencode へリンクを修正。 対象: - README.md (3箇所) - CONTRIBUTING.md (2箇所) - src/extension.ts (1箇所) Closes #30
0.1.0 以降に追加された10機能を [Unreleased] セクションに記載。 Keep a Changelog 慣例に従いバージョンリンク参照を末尾に追加。
型定義パッケージをランタイム依存から開発時依存に移動。
アイコンライブラリ導入によるSVGハードコード除去
インラインポップアップ(#, @)の項目をTab/矢印キーで選択可能にする
THIRD_PARTY_NOTICES.md に react-icons (VS Code Icons subset) のライセンスを追加。 CHANGELOG の Unreleased に Keyboard navigation for inline popups と SVG アイコン置換を追記。
ドキュメント修正・改善(OpenCode リンク修正、機能リスト更新、ライセンス追加)
リポジトリ名を opencode-gui に変更するための URL 更新
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
v0.2.0
追加
@メンション)変更
修正
.markdownクラスにスコープして他要素へのスタイル漏れを防止